
<style type="text/css">
*{ padding:0px; margin:0px;}
.layui-form-label{width:100px;}
.layui-form-item{width:350px}
.cred{color:red;}
.layui-form-label{width:110px;}
.layui-input-block{width:300px;}
</style>

<script src="${tdmPath}/js/code_generator_input.js"></script>

<div class="layui-tab layui-tab-brief " >
	   
	 <blockquote class="layui-elem-quote mylog-info-tit" style="margin-top:0px;">
  		
	    <i class="layui-icon" style="font-size: 20px;">&#xe68e;</i> <span style="color:#27847b;font-size: 16px;">&nbsp;>>&nbsp;${nodeName!'' }</span>
	
	</blockquote>
</div> 

<form class="layui-form "  style=" height:auto;margin:20px auto;">
<fieldset class="layui-elem-field">
  <legend><i class="layui-icon" style="font-size: 35px; color: #27847b;">&#xe614;</i> </legend>
  <div class="layui-field-box">
	 <div class="layui-inline">
			<label class="layui-form-label" class="layui-icon"><em class="cred">*</em>&nbsp;连接对象</label>
			<div class="layui-input-block">
				<select name="dbUrlId" id="dbUrlId" lay-verify="required" lay-filter="serviceFilter" style="border:1px solid red;" >
						<option value="">请选择连接对象</option>
						<#list allConnection as allConnection_list>
						    <option value="${allConnection_list.id}">${allConnection_list.connectName}</option>    
						</#list>
					
		      </select>
			</div>
	</div>
				
			
	  <div class="layui-inline">
		<label class="layui-form-label" class="layui-icon"><em class="cred">*</em>&nbsp;数据库名</label>
		<div class="layui-input-block">
			<select name="dbName" id="dbName" lay-verify="required" lay-filter="" >
					<option value="">请先选择连接对象 </option>
	      </select>
		</div>
	  </div>
	 
	   <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;主键</label>
	    <div class="layui-input-block">
	     <input type="text" name="primaryKeys" id="primaryKeys"  lay-verify="required" placeholder="请输入主键"  value="id" autocomplete="off" class="layui-input">
	    </div>
	  </div>
	     
	   <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;公司名</label>
	    <div class="layui-input-block">
	      <input type="text" name="companyNames" id="companyNames"  lay-verify="required" placeholder="请输入公司名" value="${companyName!''}" value="ys" autocomplete="off" class="layui-input">
	    </div>
	  </div>
	
	<div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;作者</label>
	    <div class="layui-input-block">
	      <input type="text" name="authors" id="authors"  lay-verify="required" placeholder="请输入作者"  value="${codeCreator!''}" autocomplete="off" class="layui-input">
	    </div>
	  </div>
	</div>
 </fieldset> 
	  
<fieldset class="layui-elem-field">
  <legend><i class="layui-icon" style="font-size: 35px; color: #27847b;">&#xe642;</i></legend>	  
  <div class="layui-field-box">
  
  	  <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;表名</label>
	    <div class="layui-input-block">
	      <input type="text" name="tableNames" id="tableNames" lay-verify="required" placeholder="请输入表名"  autocomplete="off" class="layui-input">
	    </div>
	  </div>

	     <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;项目名</label>
	    <div class="layui-input-block">
	      <input type="text" name="projectNames" id="projectNames"  lay-verify="required" placeholder="请输入项目名称"  autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  
	  <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;模块名</label>
	    <div class="layui-input-block">
	      <input type="text" name="models" id="models"  lay-verify="required" placeholder="请输入模块名"  autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  
	  <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;对象中文名</label>
	    <div class="layui-input-block" >
	      <input type="text" name="objectNameCns" id="objectNameCns"  lay-verify="required" placeholder="请输入对象中文名"  autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  
	  <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;对象名</label>
	    <div class="layui-input-block">
	      <input type="text" name="objectNames" id="objectNames"  lay-verify="required" placeholder="请输入对象名"  autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  
	   <div class="layui-inline">
	    <label class="layui-form-label"><em class="cred">*</em>&nbsp;类名缩写</label>
	    <div class="layui-input-block">
	      <input type="text" name="abbObjectNames" id="abbObjectNames"  lay-verify="required" placeholder="请输入类名缩写"  autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  
	  <div class="layui-inline">
	    <label class="layui-form-label">对象名小写</label>
	    <div class="layui-input-block">
	      <input type="text" name="fLowerObjectNames" id="fLowerObjectNames"  placeholder="请输入对象名小写"  autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  </div>
 </fieldset> 	  
  
   	
  
  <div class="layui-form-item" style="margin-top:20px;">
    <div class="layui-input-block">
      <button type="submit" onclick="generatorCode(); return false;" class="layui-btn" lay-submit=""  lay-filter="" style="background:#27847b; color:#fff">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary" >重置</button>
    </div>
  </div>
</form>
